package com.evan.common.bit;

public enum ReturnResEnum {
    SUCCESS("成功",200),
    FAILED("失败",500),
    UNKNOWN("未知",402),
    ;

    private String val;
    private Integer code;

    ReturnResEnum(String val, int code) {
        this.val = val;
        this.code = code;
    }

    public String getVal() {
        return val;
    }

    public void setVal(String val) {
        this.val = val;
    }

    public int getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

}
